main {
  display: flex;
  justify-content: center;
  background-color: #ededed;
  padding: 24px 12px;
}
main .main {
  width: 996px;
  display: flex;
  flex-direction: column;
  padding: 0 12px;
}
main .main .nav {
  width: 918px;
  display: flex;
  justify-content: space-between;
}
main .main .nav img {
  width: 290px;
}
.main-left {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 1680px;
  background-color: #fff;
}
.nav-in {
  width: 588px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-in ul:nth-child(1) {
  width: 100%;
  height: 100px;
  display: grid;
  grid-template-columns: 50% 50%;
  background-color: #e6f2ff;
  padding: 8px;
  border-radius: 5px;
}
.nav-in ul:nth-child(2) {
  height: 37px;
  display: flex;
  align-items: center;
  background-color: #fff2e7;
  border-radius: 5px;
  padding: 0 8px;
}
.button {
  display: flex;
}
.img {
  display: flex;
  flex-direction: column;
}
.img img {
  width: 918px;
}
.entry {
  width: 918px;
  height: 67px;
  background-color: #edf5fe;
  display: flex;
  align-items: center;
}
.click {
  display: block;
  background-color: #f0f1f3;
  width: 55px;
  height: 22px;
}
.user {
  display: flex;
  align-items: center;
}
.user img {
  width: 30px;
}
.page {
  flex: 1;
  height: 93px;
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.page a {
  width: 475px;
  height: 77px;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  box-sizing: border-box;
}
.page img {
  width: 14px;
  height: 16px;
}
.page-left .one {
  display: flex;
  flex-direction: column;
  align-items: self-end;
}
.page-left .two {
  display: flex;
  flex-direction: column;
}
.boxs {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
}
.box {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
  margin-top: 16px;
}
.box:nth-child(1) {
  padding-left: 0;
}
.box:nth-child(4) {
  padding-right: 0;
}
.box span {
  position: absolute;
  z-index: 5;
  color: #ac3318;
  background-color: #f1d061;
  border-radius: 5px;
}
.box > a {
  position: relative;
  z-index: 4;
  height: 105px;
  background: url(https://assets.rizhuti.com/uploads/caiji/Diamond-kit-2.0.png)
    no-repeat 80%/100%;
}
.box .footer {
  padding: 10px;
  background-color: #fff;
}
.box .footer .footer-in {
  display: flex;
  justify-content: space-between;
}
.box .footer .footer-in .footer-left {
  display: flex;
}
.box .footer .footer-in .footer-left li {
  height: 18px;
  margin-right: 10px;
}
.navto {
  padding: 0 12px;
}
.navto .nav-top {
  width: 286px;
  height: 210px;
  background-color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.nav-topto h4 {
  margin-bottom: 20px;
}
.nav-top-in {
  display: flex;
}
.nav-top-in img {
  width: 48px;
  height: 48px;
  padding: 0 12px;
}
.nav-top-in span {
  background-color: #eeeef0;
  padding: 4px 7px;
  border-radius: 5px;
  margin-left: 4px;
}
.nav-top-ins img {
  padding: 0;
  width: 16px;
}
.nav-top-buttom {
  display: flex;
}
.col {
  width: 33%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px;
}
.nav-top-footer {
  margin-top: 20px;
  text-align: center;
}
.post {
  background-color: #fff;
  position: relative;
  padding: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}
.titles {
  width: 80px;
  position: absolute;
  background-color: #0cbc87;
  right: 1rem;
  transform: translate(38px, -8px) rotate(45deg);
  text-align: center;
  color: #fff;
}
.bars {
  border-bottom: 1px solid #ececee;
  color: #8f939a;
}
.essay {
  height: 277px;
  padding: 20px;
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 20px;
}
.essay img {
  width: 80px;
  height: 53.33px;
}
.ranking {
  padding: 20px;
  background-color: #fff;
}
.button li:nth-child(1) button {
  background-color: #2163e8;
  color: #fff;
  margin-left: 0;
}
.button li button {
  background-color: #fff;
  color: #2163e8;
  border-radius: 10px;
  border: 2px solid #bacff8;
  padding: 8px 16px;
  margin: 0 12px;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
}
.button li button img {
  height: 14.4px;
}
.nav-in .link {
  display: flex;
}
.nav-in .link button {
  border: none;
  padding: 6px 24px;
  color: #fff;
  border-radius: 5px;
  font-weight: 800;
  display: flex;
  align-items: center;
}
.nav-in .link button img {
  width: 13.3px;
  height: 14.4px;
}
.nav-in div button:nth-child(1) {
  background-color: #d6293e;
}
.nav-in div button:nth-child(2) {
  background-color: #191a1f;
  margin-left: 5px;
}
h3 {
  position: relative;
  padding-left: 18px;
  line-height: 1.46;
  border: 0;
  font-size: 17px;
  font-weight: 600;
}
h3::before {
  position: absolute;
  top: 3px;
  left: 0;
  content: "";
  border-radius: 3px;
  background-color: #2163e8;
  width: 3px;
  height: calc(100% - 8px);
}
.colto {
  display: flex;
}
.nav-in ul:nth-child(2) li {
  display: flex;
  align-items: center;
}
.nav-in ul:nth-child(2) li:nth-child(1) {
  color: #5977a5;
}
.nav-in ul:nth-child(2) li:nth-child(1) div {
  width: 9px;
  height: 9px;
  border-radius: 20px;
  background-color: #5977a5;
  border: 2px solid #fff;
}
.nav-in ul:nth-child(2) li:nth-child(2) {
  color: #62bc87;
}
.nav-in ul:nth-child(2) li:nth-child(2) div {
  width: 9px;
  height: 9px;
  border-radius: 20px;
  background-color: #62bc87;
  border: 2px solid #fff;
}
.nav-in ul:nth-child(2) li:nth-child(3) {
  color: #f7c32e;
}
.nav-in ul:nth-child(2) li:nth-child(3) div {
  width: 9px;
  height: 9px;
  border-radius: 20px;
  background-color: #f7c32e;
  border: 2px solid #fff;
}
